package com.kaoshi.myweb.web.entity.search;

import com.kaoshi.myweb.common.seachable.QueryCondition;

import java.util.Map;

/**
 * 动态条件绑定类
 *
 * Created by ZHOUTIEQIANG053 on 2016-12-09.
 */
public class SearchCondition {


	private Map<String, String> requestMap;

	private QueryCondition queryCondition;


	private int pageSize;

	private  int pageNumber;


	private boolean needPage;

	private  boolean needSort;


	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public boolean isNeedPage() {
		return needPage;
	}

	public void setNeedPage(boolean needPage) {
		this.needPage = needPage;
	}

	public boolean isNeedSort() {
		return needSort;
	}

	public void setNeedSort(boolean needSort) {
		this.needSort = needSort;
	}

	public Map<String, String> getRequestMap() {
		return requestMap;
	}

	public void setRequestMap(Map<String, String> requestMap) {
		this.requestMap = requestMap;
	}


	public QueryCondition getQueryCondition() {
		return queryCondition;
	}

	public void setQueryCondition(QueryCondition queryCondition) {
		this.queryCondition = queryCondition;
	}
}
